package com.demo2do.fms.admin.service.supplier;

import com.demo2do.fms.admin.entity.security.Login;
import com.demo2do.fms.entity.driver.Driver;

/**
 *
 * @author Ark
 *
 */
public interface VehicleDriverRelationService {
    
    /**
     * @param vehicleId
     * @return
     */
    //public List<VehicleDriverRelation> list(Long vehicleId);
    
    /**
     * 
     * @param driver
     * @param vehicleId
     * @param operator
     */
    public void create(Driver driver, Long vehicleId, Long operator);
    
    /**
     * 
     * @param driver
     * @param vehicleId
     * @param operator
     */
    public void edit(Driver driver, Long vehicleId, Long operator);
    
    /**
     * @param relation
     */
    //public void edit(VehicleDriverRelation relation);
    
    /**
     * 
     * @param driver
     * @param login
     */
    public void unbind(Driver driver, Login login);

}
